package com.eu.mybatis.config;

public class TableConfig {

	private String before;
	
	private String tableName;
	
	private String after;
	
	// 正则表达式替换
	private String afterConvert;

	public TableConfig(String before, String tableName, String after, String afterConvert) {
		this.before = before;
		this.tableName = tableName;
		this.after = after;
		this.afterConvert = afterConvert;
	}

	public String getBefore() {
		return before;
	}

	public String getTableName() {
		return before + tableName + after;
	}
	
	public String getTableNameConvert() {
		return before + tableName + afterConvert;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getAfter() {
		return after;
	}
	
}
